Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3.17.0 #97

Merged
merged 1 commit into from
Apr 9, 2024
Merged

v3.17.0 #97

merged 1 commit into from
Apr 9, 2024

Conversation

chullybun
Copy link
Collaborator

  • Enhancement: Additional CoreEx.Validation usability improvements:
    • Validator.CreateFor<T> added to enable the creation of a CommonValidator<T> instance for a specified type T (more purposeful name); synonym for existing CommonValidator.Create<T> (unchanged).
    • Validator.Null<T> added to enable simplified specification of a IValidatorEx<T> of null to avoid explicit null casting.
    • Collection extension method has additional overload to pass in the IValidatorEx<TItem> to use for each item in the collection; versus, having to use CollectionRuleItem.Create.
    • Dictionary extension method has additional overload to pass in the IValidatorEx<TKey> and IValidator<TValue> to use for each entry in the dictionary; versus, having to use DictionaryRuleItem.Create.
    • MinimumCount and MaximumCount extension methods for ICollection added to enable explicit specification of these two basic validations.
    • Validation.CreateCollection renamed to Validation.CreateForCollection and creates a CommonValidator<TColl>.
      • Existing CollectionValidator deprecated as the CommonValidator<TColl> offers same; removes duplication of capability.
    • Validation.CreateDictionary renamed to Validation.CreateForDictionary and creates a CommonValidator<TDict>.
      • Existing DictionaryValidator deprecated as the CommonValidator<TDict> offers same; removes duplication of capability.
  • Enhancement: Added ServiceBusReceiverHealthCheck to perform a peek message on the ServiceBusReceiver as a means to determine health. Use IHealthChecksBuilder.AddServiceBusReceiverHealthCheck to configure.
  • Fixed: The FileLockSynchronizer, BlobLeaseSynchronizer and TableWorkStatePersistence have had any file/blob/table validations/manipulations moved from the constructor to limit critical failures at startup from a DI perspective; now only performed where required/used. This also allows improved health check opportunities as means to verify.

@chullybun chullybun merged commit 7d9737d into main Apr 9, 2024
2 checks passed
@chullybun chullybun deleted the v3.17.0 branch April 9, 2024 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant